/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Math;

/**
 *
 * @author gamas
 */
public class MayorYmenor {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       int a=123;
       int b=144;
       int c=200;
       int maximo=0;
       int minimo=0;
       
      maximo=Math.max(a, b);
      maximo=Math.max(maximo, c);
         System.out.println("Maximo de(" + a + "," + b+ ","+ c +")"+"es "+maximo );

      minimo=Math.min(a, b);
      minimo=Math.min(minimo, c);
        System.out.println(" El minimo es"+minimo);
    }

}
